/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.secretaria.saude.util;

/**
 *
 * @author Pablo
 */
public class StringUtil {


    private StringUtil() {

    }

    public static String completa(String texto, int tamanho, String caracter) {
        
        while(texto.length() < tamanho) {
            texto = caracter + texto;
        }

        return texto;
    }
}
